﻿/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

import com.beetlestech.nfe.main.db.tbl.support.MstlessonDTOSupport;


public class LessonDTO extends MstlessonDTOSupport implements java.io.Serializable, Comparable<LessonDTO> {

	private static final long serialVersionUID = 1L;


	private Integer lessonid = null;


	private String name = null;


	private Integer homeworkid = null;


	private Integer fileid = null;


	

	public Integer getlessonid() {
		return this.lessonid;
	}

	public void setlessonid(
			Integer lessonid) {
		this.lessonid = lessonid;
	}

	public String getname() {
		return this.name;
	}

	public void setname(
			String name) {
		this.name = name;
	}

	public Integer gethomeworkid() {
		return this.homeworkid;
	}

	public void sethomeworkid(
			Integer homeworkid) {
		this.homeworkid = homeworkid;
	}

	public Integer getfileid() {
		return this.fileid;
	}

	public void setfileid(
			Integer fileid) {
		this.fileid = fileid;
	}

	

  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
			LessonDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}

